<?php
/* @var $this ProductController */
/* @var $model Product */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'product-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zm_id'); ?>
		<?php echo $form->textField($model,'zm_id'); ?>
		<?php echo $form->error($model,'zm_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_tao_id'); ?>
		<?php echo $form->textField($model,'zp_tao_id'); ?>
		<?php echo $form->error($model,'zp_tao_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_taopro_id'); ?>
		<?php echo $form->textField($model,'zp_taopro_id'); ?>
		<?php echo $form->error($model,'zp_taopro_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zb_id'); ?>
		<?php echo $form->textField($model,'zb_id'); ?>
		<?php echo $form->error($model,'zb_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_type'); ?>
		<?php echo $form->textField($model,'zp_type'); ?>
		<?php echo $form->error($model,'zp_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zca_id'); ?>
		<?php echo $form->textField($model,'zca_id'); ?>
		<?php echo $form->error($model,'zca_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zar_id'); ?>
		<?php echo $form->textField($model,'zar_id'); ?>
		<?php echo $form->error($model,'zar_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_name'); ?>
		<?php echo $form->textField($model,'zp_name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zp_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_seotitle'); ?>
		<?php echo $form->textField($model,'zp_seotitle',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'zp_seotitle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_seokey'); ?>
		<?php echo $form->textField($model,'zp_seokey',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zp_seokey'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_seodesc'); ?>
		<?php echo $form->textField($model,'zp_seodesc',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zp_seodesc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_product_no'); ?>
		<?php echo $form->textField($model,'zp_product_no',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zp_product_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_price'); ?>
		<?php echo $form->textField($model,'zp_price'); ?>
		<?php echo $form->error($model,'zp_price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_saleprice'); ?>
		<?php echo $form->textField($model,'zp_saleprice'); ?>
		<?php echo $form->error($model,'zp_saleprice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_costprice'); ?>
		<?php echo $form->textField($model,'zp_costprice'); ?>
		<?php echo $form->error($model,'zp_costprice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_fx_price'); ?>
		<?php echo $form->textField($model,'zp_fx_price'); ?>
		<?php echo $form->error($model,'zp_fx_price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_fx_saleprice'); ?>
		<?php echo $form->textField($model,'zp_fx_saleprice'); ?>
		<?php echo $form->error($model,'zp_fx_saleprice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_inventory'); ?>
		<?php echo $form->textField($model,'zp_inventory'); ?>
		<?php echo $form->error($model,'zp_inventory'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_sale_num'); ?>
		<?php echo $form->textField($model,'zp_sale_num'); ?>
		<?php echo $form->error($model,'zp_sale_num'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_tax'); ?>
		<?php echo $form->textField($model,'zp_tax'); ?>
		<?php echo $form->error($model,'zp_tax'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_weight'); ?>
		<?php echo $form->textField($model,'zp_weight'); ?>
		<?php echo $form->error($model,'zp_weight'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_units'); ?>
		<?php echo $form->textField($model,'zp_units',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'zp_units'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_pic'); ?>
		<?php echo $form->textField($model,'zp_pic',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zp_pic'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_content'); ?>
		<?php echo $form->textArea($model,'zp_content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zp_content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_status'); ?>
		<?php echo $form->textField($model,'zp_status'); ?>
		<?php echo $form->error($model,'zp_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_nostatus'); ?>
		<?php echo $form->textArea($model,'zp_nostatus',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zp_nostatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_state'); ?>
		<?php echo $form->textField($model,'zp_state'); ?>
		<?php echo $form->error($model,'zp_state'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_draft'); ?>
		<?php echo $form->textField($model,'zp_draft'); ?>
		<?php echo $form->error($model,'zp_draft'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_new'); ?>
		<?php echo $form->textField($model,'zp_new'); ?>
		<?php echo $form->error($model,'zp_new'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_point'); ?>
		<?php echo $form->textField($model,'zp_point'); ?>
		<?php echo $form->error($model,'zp_point'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zt_ids'); ?>
		<?php echo $form->textField($model,'zt_ids',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zt_ids'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_hits'); ?>
		<?php echo $form->textField($model,'zp_hits'); ?>
		<?php echo $form->error($model,'zp_hits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_fav_num'); ?>
		<?php echo $form->textField($model,'zp_fav_num'); ?>
		<?php echo $form->error($model,'zp_fav_num'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_commend'); ?>
		<?php echo $form->textField($model,'zp_commend'); ?>
		<?php echo $form->error($model,'zp_commend'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_fenxiao'); ?>
		<?php echo $form->textField($model,'zp_fenxiao'); ?>
		<?php echo $form->error($model,'zp_fenxiao'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_repair'); ?>
		<?php echo $form->textField($model,'zp_repair'); ?>
		<?php echo $form->error($model,'zp_repair'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_guarantee'); ?>
		<?php echo $form->textField($model,'zp_guarantee'); ?>
		<?php echo $form->error($model,'zp_guarantee'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ze_id'); ?>
		<?php echo $form->textField($model,'ze_id'); ?>
		<?php echo $form->error($model,'ze_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_exp_config'); ?>
		<?php echo $form->textArea($model,'zp_exp_config',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zp_exp_config'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zbl_id'); ?>
		<?php echo $form->textField($model,'zbl_id'); ?>
		<?php echo $form->error($model,'zbl_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inputtime'); ?>
		<?php echo $form->textField($model,'inputtime'); ?>
		<?php echo $form->error($model,'inputtime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updatetime'); ?>
		<?php echo $form->textField($model,'updatetime'); ?>
		<?php echo $form->error($model,'updatetime'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->